package com.henghai.zhenxuan.data.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

public class AppListApi implements IRequestApi, IRequestType {

    private String productType;
    private String conversionType;
    private String productName;

    public AppListApi(String productType, String conversionType) {
        this.productType = productType;
        this.conversionType = conversionType;
    }

    public AppListApi(String productType, String conversionType, String productName) {
        this.productType = productType;
        this.conversionType = conversionType;
        this.productName = productName;
    }


    @NonNull
    @Override
    public String getApi() {
        return "/system/productInfo/appList";
    }


    @NonNull
    @Override
    public BodyType getBodyType() {
        return BodyType.JSON;
    }
}
